//
//  ControllView.h
//  NvSellerShow
//
//  Created by bmd on 2017/4/6.
//  Copyright © 2017年 Meicam. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Utils.h"
#import "AssetPackageObject.h"

@class NvMakeFilmClipModel;
@class SaSliderModel;

@protocol ControllViewDelegate <NSObject>

- (void)didChangeTime:(int)time;
- (void)didChangeVolumn:(NSNumber *)audioVolumn;
- (void)videoRange:(id)videoRange didChangeLeftPosition:(CGFloat)leftPosition rightPosition:(CGFloat)rightPosition;

@end

@interface ControllView : UIView

@property (strong, nonatomic) NvMakeFilmClipModel *model;
@property (weak, nonatomic) id<ControllViewDelegate> delegate;
//@property (assign, nonatomic) NvSSVideoCreateScale createMode;
@property (strong, nonatomic) SaSliderModel *sliderModel;
@property (assign, nonatomic) BOOL stillImageHint;//设为NO

@property (weak, nonatomic) IBOutlet UIView *VioceSliderView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *imageSliderTopMargin;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *videoSliderTopMargin;


- (void)startTime:(int64_t)start duration:(int64_t)duration;

@end
